home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 December / 2004-12 CHIP.iso / Internet / NVU 0.50 for Windows / nvu-0.50-win32-installer-full.exe / {app} / chrome / zi001976 / skin / modern / venkman / venkman.css < prev   
Encoding:
Cascading Style Sheet File  |  2003-07-07  |  16.4 KB  |  646 lines

  1. /* -*- tab-width: 4; indent-tabs-mode: nil -*-
  2.  *
  3.  * The contents of this file are subject to the Mozilla Public License
  4.  * Version 1.1 (the "License"); you may not use this file except in
  5.  * compliance with the License. You may obtain a copy of the License at
  6.  * http://www.mozilla.org/MPL/ 
  7.  * 
  8.  * Software distributed under the License is distributed on an "AS IS" basis,
  9.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  10.  * for the specific language governing rights and limitations under the
  11.  * License. 
  12.  *
  13.  * The Original Code is The JavaScript Debugger
  14.  * 
  15.  * The Initial Developer of the Original Code is
  16.  * Netscape Communications Corporation
  17.  * Portions created by Netscape are
  18.  * Copyright (C) 1998 Netscape Communications Corporation.
  19.  *
  20.  * Alternatively, the contents of this file may be used under the
  21.  * terms of the GNU Public License (the "GPL"), in which case the
  22.  * provisions of the GPL are applicable instead of those above.
  23.  * If you wish to allow use of your version of this file only
  24.  * under the terms of the GPL and not to allow others to use your
  25.  * version of this file under the MPL, indicate your decision by
  26.  * deleting the provisions above and replace them with the notice
  27.  * and other provisions required by the GPL.  If you do not delete
  28.  * the provisions above, a recipient may use your version of this
  29.  * file under either the MPL or the GPL.
  30.  *
  31.  * Contributor(s):
  32.  *  Robert Ginda, <rginda@netscape.com>, original author
  33.  *
  34.  */
  35.  
  36. @import url(chrome://communicator/skin/);
  37.  
  38. /*
  39.  * we have to explicitly import this css, because we're overriding the binding
  40.  * of the supremely awful <tab> tag.
  41.  */
  42. @import url(chrome://global/skin/tabbox.css);
  43.  
  44. viewcontainer {
  45.     -moz-binding: url(chrome://venkman/content/venkman-bindings.xml#viewcontainer-box);
  46. }
  47.  
  48. viewcontainer[type="tab"] {
  49.     -moz-binding: url(chrome://venkman/content/venkman-bindings.xml#viewcontainer-tab);
  50. }
  51.  
  52. floatingview {
  53.     -moz-binding: url(chrome://venkman/content/venkman-bindings.xml#floatingview);
  54. }
  55.  
  56. treecol[hideheader="true"] {
  57.   -moz-appearance: none;
  58.   border: none;
  59.   padding: 0px 0px 0px;
  60. }
  61.  
  62. #session-output-iframe {
  63.     border: thin silver inset;
  64. }
  65.  
  66. .toolbar-primary-icon {
  67.     width: 0px;
  68.     height: 0px;
  69. }
  70.  
  71. #source2-heading { 
  72.     padding-top: 2px !important;
  73. }
  74.  
  75. tree {
  76.     margin: 0px;
  77. }
  78.  
  79. tabpanels {
  80.     background: none;
  81.     padding: 2px;
  82. }
  83.  
  84. browser {
  85.     border: thin silver inset;
  86. }
  87.  
  88. #source-tree {
  89.     font-family: monospace;
  90. }
  91.  
  92. #maintoolbar\:cont {
  93.     list-style-image: url("chrome://venkman/skin/images/cont.png");
  94. }
  95.  
  96. #maintoolbar\:cont[disabled="true"],
  97. #maintoolbar\:cont[disabled="true"]:hover,
  98. #maintoolbar\:cont[disabled="true"]:active {
  99.     list-style-image: url("chrome://venkman/skin/images/cont-dis.png");
  100. }
  101.  
  102. #maintoolbar\:cont:hover {
  103.     list-style-image: url("chrome://venkman/skin/images/cont-hov.png");
  104. }
  105.  
  106. #maintoolbar\:cont:active {
  107.     list-style-image: url("chrome://venkman/skin/images/cont-act.png");
  108. }
  109.  
  110. #maintoolbar\:stop {
  111.     list-style-image: url("chrome://venkman/skin/images/stop.png");
  112. }
  113.  
  114. #maintoolbar\:stop[willStop="true"] {
  115.     list-style-image: url("chrome://venkman/skin/images/stop-checked.png");
  116. }
  117.  
  118. #maintoolbar\:stop[willStop="true"]:hover {
  119.     list-style-image: url("chrome://venkman/skin/images/stop-checked-hov.png");
  120. }
  121.  
  122. #maintoolbar\:stop[disabled="true"],
  123. #maintoolbar\:stop[disabled="true"]:hover,
  124. #maintoolbar\:stop[disabled="true"]:active {
  125.     list-style-image: url("chrome://venkman/skin/images/stop-dis.png");
  126. }
  127.  
  128. #maintoolbar\:stop:hover {
  129.     list-style-image: url("chrome://venkman/skin/images/stop-hov.png");
  130. }
  131.  
  132. #maintoolbar\:stop:active {
  133.     list-style-image: url("chrome://venkman/skin/images/stop-act.png");
  134. }
  135.  
  136. #maintoolbar\:step {
  137.     list-style-image: url("chrome://venkman/skin/images/step-into.png");
  138. }
  139.  
  140. #maintoolbar\:step[disabled="true"],
  141. #maintoolbar\:step[disabled="true"]:hover,
  142. #maintoolbar\:button[disabled="true"]:active {
  143.     list-style-image: url("chrome://venkman/skin/images/step-into-dis.png");
  144. }
  145.  
  146. #maintoolbar\:step:hover {
  147.     list-style-image: url("chrome://venkman/skin/images/step-into-hov.png");
  148. }
  149.  
  150. #maintoolbar\:step:active {
  151.     list-style-image: url("chrome://venkman/skin/images/step-into-act.png");
  152. }
  153.  
  154. #maintoolbar\:next {
  155.     list-style-image: url("chrome://venkman/skin/images/step-over.png");
  156. }
  157.  
  158. #maintoolbar\:next[disabled="true"],
  159. #maintoolbar\:next[disabled="true"]:hover,
  160. #maintoolbar\:next[disabled="true"]:active {
  161.     list-style-image: url("chrome://venkman/skin/images/step-over-dis.png");
  162. }
  163.  
  164. #maintoolbar\:next:hover {
  165.     list-style-image: url("chrome://venkman/skin/images/step-over-hov.png");
  166. }
  167.  
  168. #maintoolbar\:next:active {
  169.     list-style-image: url("chrome://venkman/skin/images/step-over-act.png");
  170. }
  171.  
  172. #maintoolbar\:finish {
  173.     list-style-image: url("chrome://venkman/skin/images/step-out.png");
  174. }
  175.  
  176. #maintoolbar\:finish[disabled="true"],
  177. #maintoolbar\:finish[disabled="true"]:hover,
  178. #maintoolbar\:finish[disabled="true"]:active {
  179.     list-style-image: url("chrome://venkman/skin/images/step-out-dis.png");
  180. }
  181.  
  182. #maintoolbar\:finish:hover {
  183.     list-style-image: url("chrome://venkman/skin/images/step-out-hov.png");
  184. }
  185.  
  186. #maintoolbar\:finish:active {
  187.     list-style-image: url("chrome://venkman/skin/images/step-out-act.png");
  188. }
  189.  
  190. #maintoolbar\:profile-tb {
  191.     list-style-image: url("chrome://venkman/skin/images/profile.png");
  192. }
  193.  
  194. #maintoolbar\:profile-tb[profile="true"] {
  195.     list-style-image: url("chrome://venkman/skin/images/profile-checked.png");
  196. }
  197.  
  198. #maintoolbar\:profile-tb[profile="true"]:hover {
  199.     list-style-image: url("chrome://venkman/skin/images/profile-checked-hov.png");
  200. }
  201.  
  202. #maintoolbar\:profile-tb:hover {
  203.     list-style-image: url("chrome://venkman/skin/images/profile-hov.png");
  204. }
  205.  
  206. #maintoolbar\:profile-tb:active {
  207.     list-style-image: url("chrome://venkman/skin/images/profile-act.png");
  208. }
  209.  
  210.  
  211. #maintoolbar\:toggle-pprint {
  212.     list-style-image: url("chrome://venkman/skin/images/prettyprint.png");
  213. }
  214.  
  215. #maintoolbar\:toggle-pprint[state="true"] {
  216.     list-style-image: url("chrome://venkman/skin/images/prettyprint-checked.png");
  217. }
  218.  
  219. #maintoolbar\:toggle-pprint[state="true"]:hover {
  220.     list-style-image: url("chrome://venkman/skin/images/prettyprint-checked-hov.png");
  221. }
  222.  
  223. #maintoolbar\:toggle-pprint:hover {
  224.     list-style-image: url("chrome://venkman/skin/images/prettyprint-hov.png");
  225. }
  226.  
  227. #maintoolbar\:toggle-pprint:active {
  228.     list-style-image: url("chrome://venkman/skin/images/prettyprint-act.png");
  229. }
  230.  
  231. .scripts-search-label:hover {
  232.     color: blue;
  233. }
  234.  
  235. .view-container {
  236.     -moz-box-orient: horizontal;
  237.  
  238. /*
  239.     border-top: 2px red solid;
  240.     border-bottom: 2px black solid;
  241. */
  242. }
  243.  
  244. .view-container[orient="vertical"] {
  245.     -moz-box-orient: vertical;
  246.  
  247. /*
  248.     border-top: none;
  249.     border-bottom: none;
  250.     border-left: 4px green solid;
  251.     border-right: 4px black solid;
  252. */
  253. }
  254.  
  255. .view-container[type="tab"] {
  256.     -moz-box-orient: vertical;
  257. }
  258.  
  259. .view-title-margin-left {
  260.     display: none;
  261. }
  262.  
  263. .view-outer {
  264.     margin-bottom: 4px;
  265. }
  266.  
  267. .view-title-grippy {
  268.     background: url(chrome://venkman/skin/images/shaded.png);
  269.     border: 1px black solid;
  270.     -moz-box-align: center;
  271.     font-weight: bold;
  272.     font-size: 10px;
  273.     color: #333333;
  274.     margin-right: 2px;
  275.     margin-left: 2px;
  276. }
  277.  
  278. .view-title-pop {
  279.     list-style-image: url("chrome://venkman/skin/images/view-pop-button.png");
  280.     margin: 1px;
  281. }
  282.  
  283. .view-title-close {
  284.     list-style-image: url("chrome://venkman/skin/images/view-close-button.png");
  285.     margin: 1px;
  286. }
  287.  
  288. tab { 
  289.     -moz-binding: none;
  290.     padding-right: 5px;
  291. }
  292.  
  293. .tab-close-button:hover {
  294.     border: 1px silver outset;
  295.     margin: 0px;
  296.     margin-top: 1px;
  297. }
  298.  
  299. .view-title-pop:hover,
  300. .view-title-close:hover {
  301.     border: 1px silver outset;
  302.     margin: 0px;
  303. }
  304.  
  305. /*
  306. .view-title-margin-right {
  307.     margin: 3px;
  308.     border-top: 2px grey groove;
  309.     padding: 2px;
  310.     border-bottom: 2px grey groove;
  311. }
  312.  
  313. .view-title-grippy {
  314.     -moz-box-align: center;
  315.     font-size: 8pt;
  316.     font-variant: small-caps;
  317. }
  318. */
  319.  
  320. tabbox {
  321.   -moz-binding: none;
  322. }
  323.  
  324. little-tab {
  325.     -moz-binding: url(chrome://venkman/content/venkman-bindings.xml#little-tab);
  326.     background: url(chrome://venkman/skin/images/shaded.png);
  327.     border-left: 1px black solid;
  328.     border-right: 1px black solid;
  329.     border-bottom: 1px black solid;
  330.     -moz-border-radius: 3px;
  331.     margin-bottom: 1px;
  332. }
  333.  
  334. little-tab[selected] {
  335.     background: none;
  336.     padding-top: 1px;
  337.     margin-bottom: 0px;
  338. }
  339.  
  340. little-tab[dragover="next-tab"] {
  341.     margin-right: 4px;
  342. }
  343.  
  344. little-tab[dragover="prev-tab"] {
  345.     margin-left: 4px;
  346. }
  347.  
  348. .view-title-pop[dragover="new-tab"] {
  349.     list-style-image: url("chrome://venkman/skin/images/new-tab.png") !important;
  350. }
  351.  
  352. viewcontainer[type="tab"] {
  353.     padding: 4px 4px 4px 4px;
  354. }
  355.  
  356. floatingview {
  357.     padding: 4px 4px 4px 4px;
  358. }
  359.  
  360. viewcontainer[type="tab"] floatingview {
  361.     padding: 0px 0px 0px 0px !important;
  362. }
  363.  
  364. floatingview[dragover="left"] {
  365.     padding-left: 0px;
  366.     border-left: 4px black solid;
  367. }
  368.  
  369. viewcontainer[type="tab"][dragover="left"] {
  370.     padding-left: 0px;
  371.     border-left: 4px black solid;
  372. }
  373.  
  374. .view-title-pop[dragover="left"] {
  375.     list-style-image: url("chrome://venkman/skin/images/arrow-left.png") !important;
  376. }
  377.  
  378. .tab-close-button {
  379.     list-style-image: url("chrome://venkman/skin/images/view-close-button.png");
  380.     margin: 1px;
  381.     margin-top: 2px;
  382. }
  383.  
  384. floatingview[dragover="up"] {
  385.     padding-top: 0px;
  386.     border-top: 4px black solid;
  387. }
  388.  
  389. viewcontainer[type="tab"][dragover="up"] {
  390.     padding-top: 0px;
  391.     border-top: 4px black solid;
  392. }
  393.  
  394. .view-title-pop[dragover="up"] {
  395.     list-style-image: url("chrome://venkman/skin/images/arrow-up.png") !important;
  396. }
  397.  
  398. floatingview[dragover="right"] {
  399.     padding-right: 0px;
  400.     border-right: 4px black solid;
  401. }
  402.  
  403. viewcontainer[type="tab"][dragover="right"] {
  404.     padding-right: 0px;
  405.     border-right: 4px black solid;
  406. }
  407.  
  408. .view-title-pop[dragover="right"] {
  409.     list-style-image: url("chrome://venkman/skin/images/arrow-right.png") !important;
  410. }
  411.  
  412. floatingview[dragover="down"] {
  413.     padding-bottom: 0px;
  414.     border-bottom: 4px black solid;
  415. }
  416.  
  417. viewcontainer[type="tab"][dragover="down"] {
  418.     padding-bottom: 0px;
  419.     border-bottom: 4px black solid;
  420. }
  421.  
  422. .view-title-pop[dragover="down"] {
  423.     list-style-image: url("chrome://venkman/skin/images/arrow-down.png") !important;
  424. }
  425.  
  426. /*
  427. .view-title-pop[parentid="locals"],
  428. .view-title-pop[parentid="scripts"],
  429. .view-title-pop[parentid="source"],
  430. .view-title-pop[parentid="watch"] {
  431.     list-style-image: url("chrome://venkman/skin/images/XXX.png");
  432. }
  433. */
  434.  
  435. /*
  436. .view-title-pop[parentid="stack"] {
  437.     list-style-image: url("chrome://venkman/skin/images/stack.png");
  438. }
  439.  
  440. .view-title-pop[parentid="windows"] {
  441.     list-style-image: url("chrome://venkman/skin/images/windows.png");
  442. }
  443.  
  444. .view-title-pop[parentid="breaks"] {
  445.     list-style-image: url("chrome://venkman/skin/images/breakpoints.png");
  446. }
  447. */
  448.  
  449. treechildren::-moz-tree-cell(source\:col-0) {
  450.     background: #CCCCCC;
  451.     border-right: 1px grey solid;
  452. }
  453.  
  454. treechildren::-moz-tree-cell(source\:col-1) {
  455.     border-right: 2px #CCCCCC solid;
  456.     text-align: right;
  457.     background: #EEEEEE;
  458. }
  459.  
  460. treechildren::-moz-tree-row(current-line, selected) {
  461.     background: green !important;
  462. }
  463.  
  464. treechildren::-moz-tree-cell(source\:col-1, highlight-start),
  465. treechildren::-moz-tree-cell(source\:col-1, highlight-range),
  466. treechildren::-moz-tree-cell(source\:col-1, highlight-end) {
  467.     border-right: 2px #919bd6 solid;
  468.     background: #d5d5e0;
  469. }
  470.  
  471. treechildren::-moz-tree-cell(source\:col-2, highlight-start),
  472. treechildren::-moz-tree-cell(source\:col-2, highlight-range),
  473. treechildren::-moz-tree-cell(source\:col-2, highlight-end) {
  474.     border-left: 1px black solid;
  475.     background: #EEEEEE;
  476. }
  477.  
  478. treechildren::-moz-tree-cell(source\:col-1, selected),
  479. treechildren::-moz-tree-cell(source\:col-2, selected) {
  480.     border-left: inherit !important;
  481.     background: inherit !important;
  482. }
  483.  
  484. treechildren::-moz-tree-cell(source\:col-1, current-line),
  485. treechildren::-moz-tree-cell(source\:col-2, current-line) {
  486.     background: #ecef34;
  487. }
  488.  
  489. #source-tree-body::-moz-tree-row {
  490.     border: 0px;
  491. }
  492.  
  493. treechildren::-moz-tree-image(source\:col-0, code) {
  494.     list-style-image: url("chrome://venkman/skin/images/code-line.gif");
  495. }
  496.  
  497. treechildren::-moz-tree-image(source\:col-0, code, prettyprint) {
  498.     list-style-image: url("chrome://venkman/skin/images/code-line-dis.gif");
  499. }
  500.  
  501. treechildren::-moz-tree-image(source\:col-0, future-breakpoint) {
  502.     list-style-image: url("chrome://venkman/skin/images/breakpoint-future-line.gif");
  503. }
  504.  
  505. treechildren::-moz-tree-image(source\:col-0, breakpoint) {
  506.     list-style-image: url("chrome://venkman/skin/images/breakpoint-line.gif");
  507. }
  508.  
  509. treechildren::-moz-tree-image(current-frame-flag){
  510.     list-style-image: url("chrome://venkman/skin/images/current-frame.gif");
  511. }
  512.  
  513. treechildren::-moz-tree-image(windows\:col-0, item-window) {
  514.     list-style-image: url("chrome://venkman/skin/images/window.png");
  515. }
  516.  
  517. treechildren::-moz-tree-image(windows\:col-0, item-files) {
  518.     list-style-image: url("chrome://venkman/skin/images/files.png");
  519. }
  520.  
  521. treechildren::-moz-tree-image(windows\:col-0, item-file) {
  522.     list-style-image: url("chrome://venkman/skin/images/file-js.png");
  523. }
  524.  
  525. treechildren::-moz-tree-image(breaks\:col-0, future-breakpoint) {
  526.     list-style-image: url("chrome://venkman/skin/images/breakpoint-future.gif");
  527. }
  528.  
  529. treechildren::-moz-tree-image(breaks\:col-0, item-breakpoint) {
  530.     list-style-image: url("chrome://venkman/skin/images/breakpoint.png");
  531. }
  532.  
  533. treechildren::-moz-tree-image(scripts\:col-0, file-function) {
  534.     list-style-image: url("chrome://venkman/skin/images/file-function.png");
  535. }
  536.  
  537. treechildren::-moz-tree-image(scripts\:col-0, file-function, item-has-bp) {
  538.     list-style-image: url("chrome://venkman/skin/images/file-function-bp.png");
  539. }
  540.  
  541. treechildren::-moz-tree-cell-text(watches\:col-0, item-error) {
  542.     font-weight: bold;
  543.     font-style: italic;
  544.     color: darkred;
  545. }
  546.  
  547. treechildren::-moz-tree-cell-text(scripts\:col-0, script-disabled) {
  548.     font-style: italic;
  549.     color: darkred;
  550. }
  551.  
  552. treechildren::-moz-tree-cell-text(scripts\:col-0, script-disabled, selected, focus) {
  553.     color: white;
  554. }
  555.  
  556. treechildren::-moz-tree-cell-text(item-exception) {
  557.     font-weight: bold;
  558.     color: darkred;
  559. }
  560.  
  561. treechildren::-moz-tree-cell-text(item-hinted) {
  562.     font-weight: bold;
  563.     color: #555555;
  564. }
  565.  
  566. treechildren::-moz-tree-cell-text(item-hinted,selected) {
  567.     color: white;
  568. }
  569.  
  570. treechildren::-moz-tree-image(item-unk) {
  571.     list-style-image: url("chrome://venkman/skin/images/file-unknown.png");
  572. }
  573.  
  574. treechildren::-moz-tree-image(item-js) {
  575.     list-style-image: url("chrome://venkman/skin/images/file-js.png");
  576. }
  577.  
  578. treechildren::-moz-tree-image(item-html) {
  579.     list-style-image: url("chrome://venkman/skin/images/file-html.png");
  580. }
  581.  
  582. treechildren::-moz-tree-image(item-xul) {
  583.     list-style-image: url("chrome://venkman/skin/images/file-xul.png");
  584. }
  585.  
  586. treechildren::-moz-tree-image(item-xml) {
  587.     list-style-image: url("chrome://venkman/skin/images/file-xml.png");
  588. }
  589.  
  590. treechildren::-moz-tree-image(item-unk, item-has-bp) {
  591.     list-style-image: url("chrome://venkman/skin/images/file-unknown-bp.png");
  592. }
  593.  
  594. treechildren::-moz-tree-image(item-js, item-has-bp) {
  595.     list-style-image: url("chrome://venkman/skin/images/file-js-bp.png");
  596. }
  597.  
  598. treechildren::-moz-tree-image(item-html, item-has-bp) {
  599.     list-style-image: url("chrome://venkman/skin/images/file-html-bp.png");
  600. }
  601.  
  602. treechildren::-moz-tree-image(item-xul, item-has-bp) {
  603.     list-style-image: url("chrome://venkman/skin/images/file-xul-bp.png");
  604. }
  605.  
  606. treechildren::-moz-tree-image(item-xml, item-has-bp) {
  607.     list-style-image: url("chrome://venkman/skin/images/file-xml-bp.png");
  608. }
  609.  
  610. treechildren::-moz-tree-image(item-frame) {
  611. /*    list-style-image: url("chrome://venkman/skin/images/value-frame.png");*/
  612.     list-style-image: url("chrome://venkman/skin/images/clear.png");
  613. }
  614.  
  615. treechildren::-moz-tree-image(item-void) {
  616.     list-style-image: url("chrome://venkman/skin/images/value-void.png");
  617. }
  618.  
  619. treechildren::-moz-tree-image(item-null) {
  620.     list-style-image: url("chrome://venkman/skin/images/value-null.png");
  621. }
  622.  
  623. treechildren::-moz-tree-image(item-bool) {
  624.     list-style-image: url("chrome://venkman/skin/images/value-bool.png");
  625. }
  626.  
  627. treechildren::-moz-tree-image(item-int) {
  628.     list-style-image: url("chrome://venkman/skin/images/value-int.png");
  629. }
  630.  
  631. treechildren::-moz-tree-image(item-double) {
  632.     list-style-image: url("chrome://venkman/skin/images/value-double.png");
  633. }
  634.  
  635. treechildren::-moz-tree-image(item-string) {
  636.     list-style-image: url("chrome://venkman/skin/images/value-string.png");
  637. }
  638.  
  639. treechildren::-moz-tree-image(item-function) {
  640.     list-style-image: url("chrome://venkman/skin/images/value-function.png");
  641. }
  642.  
  643. treechildren::-moz-tree-image(item-object) {
  644.     list-style-image: url("chrome://venkman/skin/images/value-object.png");
  645. }
  646.